home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{7E53B7CE-E53F-11D2-8B39-000000000000}#9.0#0"; "PCMMouse.ocx"
- Begin VB.Form Sample
- Caption = "Sample mouse"
- ClientHeight = 1320
- ClientLeft = 60
- ClientTop = 345
- ClientWidth = 3540
- LinkTopic = "Form1"
- ScaleHeight = 1320
- ScaleWidth = 3540
- StartUpPosition = 3 'Windows Default
- Begin PCMMouse.Mouse Mouse1
- Left = 2880
- Top = 120
- _ExtentX = 873
- _ExtentY = 873
- PosX = "375"
- PosY = "349"
- End
- Begin VB.CommandButton Command1
- Caption = "Exit"
- Height = 375
- Left = 1680
- TabIndex = 2
- Top = 720
- Width = 975
- End
- Begin VB.Timer Timer1
- Interval = 50
- Left = 1800
- Top = 0
- End
- Begin VB.Label Label2
- Height = 255
- Left = 120
- TabIndex = 1
- Top = 720
- Width = 975
- End
- Begin VB.Label Label1
- Height = 255
- Left = 120
- TabIndex = 0
- Top = 240
- Width = 975
- End
- Attribute VB_Name = "Sample"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub Command1_Click()
- End Sub
- Private Sub Timer1_Timer()
- Label1.Caption = "X = " & Mouse1.PosX
- Label2.Caption = "Y = " & Mouse1.PosY
- End Sub
-